package com.gkoudai.open.platform.entry;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wangqi
 * @date 2025-02-20 14:24
 */
@Data
public class StockQuote implements Serializable {
    //股票代码
    @JsonAlias("code")
    private String code;
    //股票名称
    @JsonAlias("name")
    private String name;
    //更新时间
    @JsonAlias("time")
    private String time;
    //最新价
    @JsonAlias("nowPrice")
    private String nowPrice;
    //涨跌额
    @JsonAlias("margin")
    private String margin;
    //涨跌幅
    @JsonAlias("mp")
    private String mp;
    //开盘价
    @JsonAlias("open")
    private String open;
    //最高价
    @JsonAlias("top")
    private String top;
    //最低价
    @JsonAlias("low")
    private String low;
    //昨收价
    @JsonAlias("lastClose")
    private String lastClose;
    //成交量
    @JsonAlias("dealVol")
    private String dealVol;
    //成交额
    @JsonAlias("dealMoney")
    private String dealMoney;
}
